<div class="right_col" role="main">
	<h3>This is ThymeleafIndex Page</h3>
	<div class="clearfix"></div>

	<h3>上传文件</h3>
	<div>
		<p th:text="${message}"></p>
		<form action="/test/uploadFile" method="post"
			  enctype="multipart/form-data">
			<input type="file" name="files">
			<input type="file" name="files">
			<input type="submit" value="文件上传">
		</form>
		<hr>
		<h3>下载文件</h3>
		<a  href="/test/downFile?filePath=1.jpg">下载</a>
	</div>

	<h3>th：text</h3>
	<div th:text="${ThtmeleafTitle}"></div>
	<P th:text="${ThtmeleafTitle}"></P>
	<span th:text="${ThtmeleafTitle}"></span>
	<span th:text="number"></span>
	<hr>
	
	<h3>th：if,th:unless</h3>
	<div th:if="${checked}==true">this is true</div>
	<div th:unless="${checked}==true">this is true</div>
	<hr>
	
	<h3>th：attr</h3>
	<input type="checkbox" th:checked="${checked}"/>
	<img th:src="${src}">
	<hr>
	<a th:href="@{http://www.baidu.com}">百度</a>
	<a th:href="${href}">百度一</a>
	<hr>
	
	<h3>th：object</h3>
	<table th:object="${city}">
		<tr><th>城市名称id</th><th>城市名称</th></tr>
		<tr><td th:text="*{cityId}"></td><td th:text="${city.cityName}"></td></tr>
	</table>
	<hr>
	
	<h3>th：each</h3>
	<select>
		<option th:each="city:${cities}" th:value="${city.cityId}" th:text="${city.cityName}">
	</select>
	
	<h3>th：form</h3>
	<form action="/api/city" method="post"> 
		<input type="hidden" name="_method" value="put" >
		<p>查询城市<input type="text" th:value="${city.cityId}" name="cityId"></p>
		<p>cityName: <input type="text" th:value="${city.cityName}" name="cityName" /></p>
		<input type="submit" value="submit">
	</form> 

</div>
